package zhou.jan09.self_contest06;

public class Q4 {

	String action;
	String result;

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}


	void match(String a,String b,String c){
		System.out.println(a+"，"+b+"，"+c+action+"，"+result);
		
	}
	
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Q4 q4=new Q4();
		q4.setAction("跑步比赛");
		q4.setResult("最后猴子赢了比赛，然后大家一起去喝水庆祝。");
		q4.match("乌龟", "兔子", "猴子");

	}

}
